package org.software.service;
import org.software.entity.Student;
import org.software.dao.StudentDataProvider;
import  java.util.List;

public class StudentService {
    private StudentDataProvider studentDataProvider = new StudentDataProvider();

    public boolean studentAdd(String studentId,String studentName,String groupName){
        return studentDataProvider.studentAdd(studentId,studentName,groupName);
    }
public boolean studentDelete(String studentId){
    return studentDataProvider.studentDelete(studentId);}
    public List<Student> studentQuery(){
        return studentDataProvider.studentQuery();
    }
}